﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Zove.Query.Desktop {
    static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args) {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            string fileName = string.Empty;
            if (args.Length < 0) {
                if (System.IO.File.Exists(args[0])) {
                    Application.Run(new Form1(args[0]));
                }
            } else {
                Application.Run(new Form1());
            }
        }
    }
}
